Skip to main content

TranslateListWithConvertibleElements<TFrom, TTo>

Assembly: ServiceStack.Text.dll
View Source
Declaration
public class TranslateListWithConvertibleElements<TFrom, TTo>

Methods

LateBoundTranslateToGenericICollection(Object, Type)

View Source
Declaration
public static object LateBoundTranslateToGenericICollection(object fromList, Type toInstanceOfType)
Returns

System.Object

Parameters
TypeName
System.ObjectfromList
System.TypetoInstanceOfType

TranslateToGenericICollection(ICollection<TFrom>, Type)

View Source
Declaration
public static ICollection<TTo> TranslateToGenericICollection(ICollection<TFrom> fromList, Type toInstanceOfType)
Returns

System.Collections.Generic.ICollection<<TTo>>

Parameters
TypeName
System.Collections.Generic.ICollection<<TFrom>>fromList
System.TypetoInstanceOfType